<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body>div{
            width: 200px;
            height: 200px;
            border: 1px solid red;
            /*设置超出部分如何显示 hidden隐藏 visible显示(默认) scroll滚动显示*/
            overflow: scroll;
        }
    </style>
</head>
<body>

<div>
    <img src="../b.jpg" alt="">
</div>
</body>
</html>